<template>
  <div id='App'>
   <router-view v-slot="{ Component }">
      <keep-alive v-if="$route.meta.keepAlive" >
        <component :is="Component"  />
      </keep-alive>
      <component :is="Component" v-if="!$route.meta.keepAlive" />
    </router-view>
  </div>
</template>

<script  setup>
</script>

<style lang='less'>
@import '@/assets/css/index.css';
@import '@/assets/css/vant.css';
@import 'normalize.css';
@import '@/assets/css/iconfont.css';
#App{
  height: 100vh;
  width: 100vw;
}
</style>
